package com.ohs.dal.model;

import java.util.HashSet;
import java.util.Set;

public class Video extends Entity {
	private Long id;
	private String externalId;
	private String name;
	private String description;
	private String thumbnail;
	private String length;
	private Set<Tag> tags = new HashSet<Tag>();

	public Video() {
		
	}
	
	public Video(String externalId, String name, String description,
			String thumbnail, String length) {
		this.name = name;
		this.description = description;
		this.externalId = externalId;
		this.thumbnail = thumbnail;
		this.length = length;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getExternalId() {
		return externalId;
	}

	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public Set<Tag> getTags() {
		return tags;
	}

	public void setTags(Set<Tag> tags) {
		this.tags = tags;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}

}
